#include"game.h"

void process_bar()
{
  char bar[101];
  memset(bar, '\0', sizeof(bar));
  int i = 0;
  const char* lable = "|/-\\";
  for(i = 0; i < 101; i++)
  {
    printf("[%-100s][%3d][%c]\r", bar, i, lable[i%4]);
    fflush(stdout);
    bar[i] = '#';
    usleep(10000);
  }
}
